Hardware Accelerators in Data Centers by Christoforos Kachris & Babak Falsafi & Dimitrios Soudris

Hardware Accelerators in Data Centers by Christoforos Kachris & Babak Falsafi & Dimitrios Soudris

Author:Christoforos Kachris & Babak Falsafi & Dimitrios Soudris
Language: eng
Format: epub
ISBN: 9783319927923
Publisher: Springer International Publishing


7.3.2.1 Application Implementation Example

An example of how an application is implemented with TANGO programming model is shown next. This example implements a matrix multiplication by blocks in two levels. The first level splits the matrices into blocks and computes the matrix multiplication by block. Each block multiplication is defined as coarse-grain task. Each matrix block can be decomposed in smaller blocks, and each block multiplication can be decomposed as a workflow of small block multiplications.

Figure 7.2 shows the main code of the benchmark application where a loop of the multiply Blocks coarse-grain tasks is implemented.

Fig. 7.2Main workflow of the matrix multiplication



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.